package cn.shop.merchant.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

/**
 * @author : 李一涵
 * @date : Created in 2021-11-15 14:34
 * @description :
 */
public interface IBaseMapper<T> extends BaseMapper<T> {

    /**
     * 批量删除并更新操作人和操作时间
     *
     */
    int batchDeleteWithFill(@Param(Constants.ENTITY) T param, @Param(Constants.WRAPPER) Wrapper<T> wrapper);

}
